package com.agp.com.agp.web;

import com.agp.api.test.IHelloApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author agp
 * @version 1.0.0
 * @ClassName TestController.java
 * @Description TODO
 * @createTime 2018年10月17日 16:57:00
 */
@RestController
@Slf4j
public class TestController implements IHelloApi {


    @Override
    //@GetMapping("/hello")
    public String index( String name) {
        log.info("[负载均衡3002]服务被调用，参数name值为：{}", name);
        return name + ",this is spring-cloud-eureka-client!";
    }

}
